﻿CREATE TABLE [dbo].[SIUserAnswer](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[PaperId] INT,
	[Question] NVARCHAR(50),
	[Answer] NVARCHAR(200) NULL,
	[AddDt] [datetime] NULL DEFAULT (getdate()),
 CONSTRAINT [PK_SIUserAnswer] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO


GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIUserAnswer', @level2type=N'COLUMN',@level2name=N'Id'
GO


GO


GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'答案' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIUserAnswer', @level2type=N'COLUMN',@level2name=N'Answer'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提交时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIUserAnswer', @level2type=N'COLUMN',@level2name=N'AddDt'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户评价答案' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SIUserAnswer'
GO



EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'问题',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'SIUserAnswer',
    @level2type = N'COLUMN',
    @level2name = N'Question'
GO
EXEC sp_addextendedproperty @name = N'MS_Description',
    @value = N'试卷Id',
    @level0type = N'SCHEMA',
    @level0name = N'dbo',
    @level1type = N'TABLE',
    @level1name = N'SIUserAnswer',
    @level2type = N'COLUMN',
    @level2name = N'PaperId'